.class public Lcom/estrongs/android/ui/dialog/j0;
.super Ljava/lang/Object;
.source "NewSmbServerDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/dialog/j0$e;,
        Lcom/estrongs/android/ui/dialog/j0$f;
    }
.end annotation


# instance fields
.field private a:Lcom/estrongs/android/ui/dialog/q;

.field private b:Landroid/view/View;

.field private c:Landroid/content/Context;

.field private d:Landroid/widget/EditText;

.field private e:Landroid/widget/EditText;

.field private f:Landroid/widget/EditText;

.field private g:Landroid/widget/EditText;

.field private h:Landroid/widget/EditText;

.field private i:Landroid/widget/TextView;

.field private j:Landroid/widget/CheckBox;

.field private k:Z

.field private l:Ljava/lang/String;

.field private m:Landroid/widget/CompoundButton$OnCheckedChangeListener;

.field n:Lcom/estrongs/android/ui/dialog/j0$f;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->d:Landroid/widget/EditText;

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    .line 4
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->f:Landroid/widget/EditText;

    .line 5
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->g:Landroid/widget/EditText;

    .line 6
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->h:Landroid/widget/EditText;

    .line 7
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->i:Landroid/widget/TextView;

    .line 8
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    const/4 v0, 0x0

    .line 9
    iput-boolean v0, p0, Lcom/estrongs/android/ui/dialog/j0;->k:Z

    .line 10
    new-instance v0, Lcom/estrongs/android/ui/dialog/j0$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/j0$a;-><init>(Lcom/estrongs/android/ui/dialog/j0;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->m:Landroid/widget/CompoundButton$OnCheckedChangeListener;

    .line 11
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    .line 12
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/j0;->e()V

    .line 13
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/j0;->c()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    .line 14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 15
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->d:Landroid/widget/EditText;

    .line 16
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    .line 17
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->f:Landroid/widget/EditText;

    .line 18
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->g:Landroid/widget/EditText;

    .line 19
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->h:Landroid/widget/EditText;

    .line 20
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->i:Landroid/widget/TextView;

    .line 21
    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    const/4 v0, 0x0

    .line 22
    iput-boolean v0, p0, Lcom/estrongs/android/ui/dialog/j0;->k:Z

    .line 23
    new-instance v0, Lcom/estrongs/android/ui/dialog/j0$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/j0$a;-><init>(Lcom/estrongs/android/ui/dialog/j0;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->m:Landroid/widget/CompoundButton$OnCheckedChangeListener;

    .line 24
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    .line 25
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/j0;->e()V

    .line 26
    invoke-direct {p0, p2, p3}, Lcom/estrongs/android/ui/dialog/j0;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 27
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/j0;->c()V

    return-void
.end method

.method private a(Ljava/lang/String;)Landroid/text/SpannableString;
    .locals 5

    .line 30
    new-instance v0, Landroid/text/SpannableString;

    invoke-direct {v0, p1}, Landroid/text/SpannableString;-><init>(Ljava/lang/CharSequence;)V

    .line 31
    new-instance v1, Landroid/text/style/UnderlineSpan;

    invoke-direct {v1}, Landroid/text/style/UnderlineSpan;-><init>()V

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v2

    const/16 v3, 0x21

    const/4 v4, 0x0

    invoke-virtual {v0, v1, v4, v2, v3}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    .line 32
    new-instance v1, Lcom/estrongs/android/ui/dialog/j0$e;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/estrongs/android/ui/dialog/j0$e;-><init>(Lcom/estrongs/android/ui/dialog/j0;Lcom/estrongs/android/ui/dialog/j0$a;)V

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p1

    invoke-virtual {v0, v1, v4, p1, v3}, Landroid/text/SpannableString;->setSpan(Ljava/lang/Object;III)V

    return-object v0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dialog/j0;)Landroid/widget/CheckBox;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    return-object p0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 6

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/j0;->l:Ljava/lang/String;

    if-eqz p1, :cond_6

    const/4 v0, 0x0

    if-eqz p1, :cond_6

    const/4 v1, 0x1

    .line 4
    iput-boolean v1, p0, Lcom/estrongs/android/ui/dialog/j0;->k:Z

    .line 5
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->n2(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 6
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->h(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 7
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    sub-int/2addr v2, v1

    .line 8
    invoke-virtual {v0, v2}, Ljava/lang/String;->charAt(I)C

    move-result v3

    const/16 v4, 0x2f

    const/4 v5, 0x6

    if-ne v3, v4, :cond_0

    .line 9
    invoke-virtual {v0, v5, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    .line 10
    :cond_0
    invoke-virtual {v0, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    .line 11
    :cond_1
    :goto_0
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->i0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_2

    .line 12
    iget-object v3, p0, Lcom/estrongs/android/ui/dialog/j0;->d:Landroid/widget/EditText;

    invoke-virtual {v3, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 13
    :cond_2
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    invoke-virtual {v2, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 14
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->m0(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 15
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->N(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const/4 v2, 0x0

    if-eqz v0, :cond_3

    .line 16
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_3

    .line 17
    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j0;->f:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_1

    .line 19
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    :goto_1
    if-eqz p1, :cond_4

    .line 20
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_4

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->g:Landroid/widget/EditText;

    invoke-virtual {v0, p1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_4
    if-eqz p2, :cond_5

    .line 22
    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result p1

    if-lez p1, :cond_5

    .line 23
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/j0;->h:Landroid/widget/EditText;

    invoke-virtual {p1, p2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 24
    :cond_5
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/j0;->l:Ljava/lang/String;

    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/l;->r(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_6

    .line 25
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const p2, 0x7f060204

    invoke-virtual {p1, p2}, Landroid/content/res/Resources;->getColor(I)I

    move-result p1

    .line 26
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/j0;->h:Landroid/widget/EditText;

    invoke-virtual {p2, p1}, Landroid/widget/EditText;->setTextColor(I)V

    .line 27
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/j0;->h:Landroid/widget/EditText;

    invoke-virtual {p2, v2}, Landroid/widget/EditText;->setEnabled(Z)V

    .line 28
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    invoke-virtual {p2, p1}, Landroid/widget/EditText;->setTextColor(I)V

    .line 29
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    invoke-virtual {p1, v2}, Landroid/widget/EditText;->setEnabled(Z)V

    :cond_6
    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/dialog/j0;)Landroid/widget/EditText;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->f:Landroid/widget/EditText;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/ui/dialog/j0;)Landroid/widget/EditText;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->g:Landroid/widget/EditText;

    return-object p0
.end method

.method private c()V
    .locals 3

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    .line 3
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/view/View;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/ui/dialog/j0$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dialog/j0$c;-><init>(Lcom/estrongs/android/ui/dialog/j0;)V

    const v2, 0x7f11029e

    .line 4
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/ui/dialog/j0$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dialog/j0$b;-><init>(Lcom/estrongs/android/ui/dialog/j0;)V

    const v2, 0x7f110299

    .line 5
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f110708

    .line 6
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->a:Lcom/estrongs/android/ui/dialog/q;

    return-void
.end method

.method static synthetic d(Lcom/estrongs/android/ui/dialog/j0;)Landroid/widget/EditText;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->d:Landroid/widget/EditText;

    return-object p0
.end method

.method private d()Ljava/lang/String;
    .locals 8

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    :goto_0
    const-string v1, "/"

    .line 3
    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    const/4 v3, 0x1

    if-nez v2, :cond_a

    const-string v2, "\\"

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    goto/16 :goto_3

    .line 4
    :cond_0
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    const/4 v4, 0x0

    if-nez v2, :cond_1

    return-object v4

    .line 5
    :cond_1
    iget-object v2, p0, Lcom/estrongs/android/ui/dialog/j0;->d:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_2

    .line 6
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v5

    if-nez v5, :cond_3

    :cond_2
    move-object v2, v4

    .line 7
    :cond_3
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "smb://"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 8
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_4

    return-object v0

    .line 9
    :cond_4
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v5

    sub-int/2addr v5, v3

    invoke-virtual {v0, v5}, Ljava/lang/String;->charAt(I)C

    move-result v5

    const/16 v6, 0x2f

    if-eq v5, v6, :cond_5

    .line 10
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 11
    :cond_5
    new-instance v1, Ljava/lang/StringBuffer;

    invoke-direct {v1, v0}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    if-nez v0, :cond_9

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->f:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    .line 14
    iget-object v5, p0, Lcom/estrongs/android/ui/dialog/j0;->g:Landroid/widget/EditText;

    invoke-virtual {v5}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    if-eqz v0, :cond_8

    .line 15
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v6

    if-nez v6, :cond_6

    goto :goto_1

    :cond_6
    const-string v3, "@"

    const-string v4, ":"

    const/4 v6, 0x6

    if-nez v2, :cond_7

    .line 16
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->j(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 17
    invoke-static {v5}, Lcom/estrongs/android/util/h0;->j(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 18
    invoke-virtual {v1, v6, v0}, Ljava/lang/StringBuffer;->insert(ILjava/lang/String;)Ljava/lang/StringBuffer;

    goto :goto_2

    .line 19
    :cond_7
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->j(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ";"

    invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 20
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->j(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 21
    invoke-static {v5}, Lcom/estrongs/android/util/h0;->j(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 22
    invoke-virtual {v1, v6, v0}, Ljava/lang/StringBuffer;->insert(ILjava/lang/String;)Ljava/lang/StringBuffer;

    goto :goto_2

    .line 23
    :cond_8
    :goto_1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    .line 24
    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f110b2f

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 25
    invoke-static {v0, v1, v3}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-object v4

    .line 26
    :cond_9
    :goto_2
    invoke-virtual {v1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0

    .line 27
    :cond_a
    :goto_3
    invoke-virtual {v0, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_0
.end method

.method private e()V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c0298

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    const v1, 0x7f090834

    .line 3
    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->d:Landroid/widget/EditText;

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    const v1, 0x7f090725

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    const v1, 0x7f0906b6

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->f:Landroid/widget/EditText;

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    const v1, 0x7f0908b0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->g:Landroid/widget/EditText;

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    const v1, 0x7f090d4a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/CheckBox;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    const v1, 0x7f090325

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->h:Landroid/widget/EditText;

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->b:Landroid/view/View;

    const v1, 0x7f090cde

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->i:Landroid/widget/TextView;

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f11063c

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 11
    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j0;->i:Landroid/widget/TextView;

    invoke-direct {p0, v0}, Lcom/estrongs/android/ui/dialog/j0;->a(Ljava/lang/String;)Landroid/text/SpannableString;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->i:Landroid/widget/TextView;

    invoke-static {}, Landroid/text/method/LinkMovementMethod;->getInstance()Landroid/text/method/MovementMethod;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setMovementMethod(Landroid/text/method/MovementMethod;)V

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j0;->m:Landroid/widget/CompoundButton$OnCheckedChangeListener;

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->e:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->requestFocus()Z

    .line 16
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/j0;->g()V

    return-void
.end method

.method static synthetic e(Lcom/estrongs/android/ui/dialog/j0;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/j0;->f()V

    return-void
.end method

.method static synthetic f(Lcom/estrongs/android/ui/dialog/j0;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    return-object p0
.end method

.method private f()V
    .locals 4

    .line 2
    invoke-static {}, Les/p00;->c()Les/p00;

    move-result-object v0

    const-string v1, "lan"

    const-string v2, "create"

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Les/p00;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->j:Landroid/widget/CheckBox;

    invoke-virtual {v0}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->f:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 5
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_1

    .line 6
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    .line 7
    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f110b2f

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 8
    invoke-static {v0, v2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    .line 9
    :cond_1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/j0;->d()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_2

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    .line 11
    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f1106fb

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 12
    invoke-static {v0, v2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    .line 13
    :cond_2
    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/j0;->c:Landroid/content/Context;

    const v2, 0x7f11008e

    const v3, 0x7f11008d

    invoke-static {v1, v2, v3}, Les/dj;->a(Landroid/content/Context;II)V

    .line 14
    new-instance v1, Ljava/lang/Thread;

    new-instance v2, Lcom/estrongs/android/ui/dialog/j0$d;

    invoke-direct {v2, p0, v0}, Lcom/estrongs/android/ui/dialog/j0$d;-><init>(Lcom/estrongs/android/ui/dialog/j0;Ljava/lang/String;)V

    invoke-direct {v1, v2}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 15
    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method static synthetic g(Lcom/estrongs/android/ui/dialog/j0;)Landroid/widget/EditText;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->h:Landroid/widget/EditText;

    return-object p0
.end method

.method private g()V
    .locals 2

    const-string v0, "lock_SMB2"

    .line 2
    invoke-static {v0}, Lcom/estrongs/android/pop/app/unlock/i;->a(Ljava/lang/String;)Les/k00;

    move-result-object v0

    .line 3
    invoke-virtual {v0}, Les/l00;->d()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->i:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->i:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    return-void
.end method

.method static synthetic h(Lcom/estrongs/android/ui/dialog/j0;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/ui/dialog/j0;->k:Z

    return p0
.end method

.method static synthetic i(Lcom/estrongs/android/ui/dialog/j0;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->l:Ljava/lang/String;

    return-object p0
.end method

.method static synthetic j(Lcom/estrongs/android/ui/dialog/j0;)Lcom/estrongs/android/ui/dialog/q;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/j0;->a:Lcom/estrongs/android/ui/dialog/q;

    return-object p0
.end method


# virtual methods
.method public a()Z
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->a:Lcom/estrongs/android/ui/dialog/q;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public b()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/j0;->a:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method
